import request from '.';

const getList = (pagenum = 1, pagesize = 8) =>
    request.get('/roles', { params: { pagenum, pagesize } });

export default { getList };
